{% extends "base.html" %}

{% block script %}
    <script src="/static/js/cms2/note_pub.js"></script>
{% end %}

{% block settings %}
    {% set menu_selected = 'topic' %}
{% end %}

{% block main %}
<div class="main_hd">
    <h2>话题</h2>

    <div class="title_tab" id="topTab">
        <ul class="tab_navs title_tab" data-index="0">
        <li data-index="0" class="tab_nav first js_top" data-id="send"><a href="#" class="to-s-note">note管理</a></li>
        <li data-index="1" class="tab_nav js_top selected" data-id="list"><a href="#" class="to-p-note">发布note</a></li>
        </ul>
    </div>
    <div class="extra_info search_bar" id="searchBar">
        <span class="frm_input_box search with_del append ">
            <a class="del_btn jsSearchInputClose" href="javascript:" style="display:none">
                <i class="icon_search_del"></i>&nbsp;
            </a>
            <a href="javascript:" class="frm_input_append jsSearchInputBt">
                <i class="icon16_common search_gray">搜索</i>&nbsp;
            </a>
        <input type="text" value="" class="frm_input jsSearchInput" placeholder="消息内容">
        </span>
    </div>
</div>
<div class="main_bd">
    <div class="topic-box">
        <div class="t-panel">
            <div class="t-panel-heading">
                <div class="t-panel-title">
                    话题：
                </div>
            </div>
            <div class="padding-box row">
                <div class="col-md-2 text-center"><label for="userid">用户ID</label></div>
                <div class="col-md-10">
                    <input id="userid" type="text" class="form-control" placeholder="用户id">
                </div>
            </div>
            <div class="padding-box row">
                <div class="col-md-2 text-center"><label>添加图片</label></div>
                <div class="col-md-10">
                    <form action="#" id="drop" class="dropzone">
                    </form>
                </div>
            </div>
            <div class="padding-box row">
                <div class="col-md-2 text-center"><label for="summary">内容描述</label></div>
                <div class="col-md-10">
                    <textarea id="summary" class="form-control"></textarea>
                </div>
            </div>
            <div class="padding-box row">
                <div class="col-md-2 text-center"><label for="tags">内容标签</label></div>
                <div class="col-md-10">
                    <input id="tags" type="text" class="form-control">
                </div>
            </div>
            <div class="padding-box row">
                <div class="col-md-2 text-center"><label for="places">地理标签</label></div>
                <div class="col-md-10">
                    <input id="places" type="text" class="form-control">
                </div>
            </div>
        </div>
        <button class="btn btn-success" type="button">发布</button>
    </div>
</div>
{% end %}

{% block template %}
{% end %}